package com.link.base.base.product.dao.mybatis.mapper;

import com.link.base.base.product.model.ProdColl;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * 小程序登录下使用特有的查询sql
 * @author KuangRuifeng
 * @date 2018/10/29
 */
public interface MpProdCollMapper extends BasicMapper<ProdColl> {
    /**
     * 根据商品ID删除一条数据
     *
     * @param entity
     * @throws Exception
     */
    public void deleteByProdId(ProdColl entity) throws Exception;

    /**
     * lujiang查询MP收藏商品
     * @param entity
     * @return
     * @throws Exception
     */
    List<ProdColl> queryByCollExamplePage(ProdColl entity) throws Exception;
}
